import {createStore,combineReducers,applyMiddleware} from 'redux'
import reducers from '../reducers'
import thunk from 'redux-thunk'
const store = createStore(
  combineReducers(reducers),  //整合reducer
  applyMiddleware(thunk)
)
export default store